package com.fzdy.dataplatform.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "view_userdevice")
@Data
public class DeviceOwnerVo {
    @Id
    @Column(name = "sn")
    private String sn;
    @Column(name = "name")
    private String name;
    @Column(name = "createdate")
    private Date createdate;
    @Column(name = "uname")
    private String uname;
    @Column(name = "userid")
    private Integer userid;
    @Column(name = "businessname")
    private String businessname;
    @Column(name = "businessid")
    private String businessid;
    @Column(name = "parsektv")
    private Integer parsektv;
    @Column(name = "status")
    private Integer status;
    @Column(name = "protocol")
    private String protocol;


    public DeviceOwnerVo() {
    }

    public DeviceOwnerVo(String sn, Integer status, String businessname, String protocol, Integer parsektv) {
        this.sn = sn;
        this.businessname = businessname;
        this.status = status;
        this.protocol = protocol;
        this.parsektv = parsektv;
    }
}
